<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.com">
<head>
    <meta charset="UTF-8">
    <title>后台登录</title>
    <link rel="stylesheet" href="/css/admin.css"/>
</head>
<body>
    <div class="frm">
        <div class="title">后台登录</div>
        <form action="/admin/login_submit">
            <table>
                <tr>
                    <td>用户名</td>
                    <td>
                        <label>
                            <input type="text" name="userName" required="required">
                        </label>
                    </td>
                </tr>
                <tr>
                    <td>密码</td>
                    <td>
                        <label>
                            <input type="password" name="password" required="required">
                        </label>
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td>
                        <input type="submit" name="登录">
                        <div th:text="${err}" style="color:red"></div>
                    </td>
                </tr>
            </table>
        </form>
    </div>
</body>
</html>